---
title: "Query Filter Information"
description: "Utility functions for extracting information from query filter parameters"
---

## get_weight

```python
get_weight(weight_param: ParamInfo) -> float
```

Extracts the weight value from a parameter information object.

### Parameters

<ParamField path="weight_param" type="ParamInfo" required>
The parameter information object containing the weight value.
</ParamField>

**Returns**: `float` - The extracted weight value.
